package com.utils;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public class SnowflakeGenerator {
    public static final Snowflake snowflake = IdUtil.getSnowflake(2,2);

    public static long nextId() {
        return snowflake.nextId();
    }
}
